/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.meter.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.tenant.mp.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 支付记录表实体类
 *
 * @author John
 * @since 2020-08-15
 */
@Data
@TableName("t_payment")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Payment对象", description = "支付记录表")
public class Payment extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 支付流水号
	*/
		@ApiModelProperty(value = "支付流水号")
		private String sn;
	/**
	* 设备ID
	*/
		@ApiModelProperty(value = "设备ID")
		private String device;
	/**
	* 支付用途：1、支付电费；2、支付水费；3、支付物业费
	*/
		@ApiModelProperty(value = "支付用途：1、支付电费；2、支付水费；3、支付物业费")
		private String paymentTarget;
	/**
	* 支付手续费
	*/
		@ApiModelProperty(value = "支付手续费")
		private String fee;
	/**
	* 支付金额
	*/
		@ApiModelProperty(value = "支付金额")
		private String amount;
	/**
	* 支付度数
	*/
		@ApiModelProperty(value = "支付度数")
		private String degrees;
	/**
	* 税金
	*/
		@ApiModelProperty(value = "税金")
		private String tax;


}
